<?php

/**
 * Description of PostsController
 *
 * @author Abo El Seoud
 */
class PostsController extends AppController {

    public function index() {
        $this->set('mentions', $this->Post->fetchMentions($this->Auth->User('current_account')));
    }
    
    public function view($tweetID){
        $this->set('posts', $this->Post->view($tweetID, $this->Auth->User('current_account')));
    }

}

?>
